package com.starhub.application.rag.result;

import dev.langchain4j.data.segment.TextSegment;
import dev.langchain4j.store.embedding.EmbeddingSearchResult;
import lombok.Builder;
import lombok.Data;

/**
 * rag结果dto 输出简单rag文件查询结果
 * @version: V1.0
 * @author: liuhf
 * @time 2025-06-05
 */
@Builder
@Data
public class RagResult {

    private String question;
    private String answer;

    private EmbeddingSearchResult<TextSegment> searchResult;
}
